package com.tosee.utils;

import org.jdom2.Namespace;

/**
 * Contient les constantes de l'application
 * 
 * @author robint
 */
public class ConstantesAllocine {

    public static String URL_API_RECHERCHE = "http://api.allocine.fr/rest/v3/search";

    public static String URL_API_DETAIL_SERIE = "http://api.allocine.fr/rest/v3/tvseries";

    public static String URL_API_SAISON = "http://api.allocine.fr/rest/v3/season";

    public static String URL_API_EPISODE = "http://api.allocine.fr/rest/v3/episode";

    public static Namespace NAMESPACE = Namespace.getNamespace("http://www.allocine.net/v6/ns/");

    /* Constantes de Requetage */
    public static String VALEUR_CODE_PARTENAIRE = "YW5kcm9pZC12M3M";

    public static String VALEUR_CODE_FILTER = "tvseries";

    public static String VALEUR_CODE_FORMAT_XML = "xml";

    public static String VALEUR_PROFILE_LARGE = "large";

    public static String vALEUR_PROFILE_MEDIUM = "medium";

    public static String VALEUR_PROFILE_SMALL = "small";

    public static String CODE_CODE = "code";

    public static String CODE_PROFILE = "profile";

    public static String CODE_CHAINE = "q";

    public static String CODE_PARTENAIRE = "partner";

    public static String CODE_FILTER = "filter";

    public static String CODE_FORMAT = "format";

    public static String CODE_COUNT = "count";

    public static String CODE_PAGE = "page";

    public static String CODE_DECLARE = "declare";

    public static String CODE_SEPARATEUR = "&";

    public static String CODE_REQUETE = "?";

    /* CONSTANTE DE PARSAGE */

    public static String PARSE_ELEMENT_PAGE = "page";

    public static String PARSE_ELEMENT_COUNT = "count";

    public static String PARSE_ELEMENT_TOTALRESULT = "totalResults";

    public static String PARSE_ELEMENT_TVSERIES = "tvseries";

    public static String PARSE_ELEMENT_SAISON = "season";

    public static String PARSE_ELEMENT_CASTING = "casting";

    public static String PARSE_ELEMENT_LISTSAISON = "seasonList";

    public static String PARSE_ELEMENT_LISTEPISODE = "episodeList";

    public static String PARSE_ELEMENT_CASTMEMBER = "castMember";

    public static String PARSE_ATTRIBUTE_CODE = "code";

    public static String PARSE_ELEMENT_PARENT_SERIE = "parentSeries";

    public static String PARSE_ELEMENT_PARENT_SAISON = "parentSeason";

    public static String PARSE_ELEMENT_TITLEVO = "originalTitle";

    public static String PARSE_ELEMENT_TITLEVO_ARTICLE = "originalTitleArticle";

    public static String PARSE_ELEMENT_SYNOPSIS = "synopsis";

    public static String PARSE_ELEMENT_SAISONNUM = "seasonNumber";

    public static String PARSE_ELEMENT_NBEPISODE = "episodeCount";

    public static String PARSE_ELEMENT_EPISODENUMSERIE = "episodeNumberSeries";

    public static String PARSE_ELEMENT_EPISODENUMSAISON = "episodeNumberSeason";

    public static String PARSE_ELEMENT_TITLE = "title";

    public static String PARSE_ELEMENT_FORMATTIME = "formatTime";

    public static String PARSE_ELEMENT_YEARSTART = "yearStart";

    public static String PARSE_ELEMENT_YEAREND = "yearEnd";

    public static String PARSE_ELEMENT_ACTIVITY = "activity";

    public static String PARSE_ELEMENT_ROLE = "role";

    public static String PARSE_ELEMENT_PERSON = "person";

    public static String PARSE_ELEMENT_NAME = "name";
}
